package _11创建线程_实现Runnable接口;

public class DemoRunnable {
    public static void main(String[] args) {
        MyRunnable r= new MyRunnable();

        Thread t = new Thread(r);

        t.start();

        for (int i = 0; i < 200; i++) {
            System.out.println("Main:"+i);
        }
    }
}
